﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GGH
{
    public partial class UserInsert : Form
    {

        public UserInsert()
        {
            InitializeComponent();

        }
        public string GuestName { get { return textBox1.Text; } }
        public string Address
        {
            get
            {
                return textBox2.Text;
            }
        }
        public string Email { get { return textBox3.Text; } }
        private void button1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text.Length > 0 && textBox2.Text.Length > 0 && textBox3.Text.Length > 0)
            {
                this.DialogResult = DialogResult.OK;
            }
        }
    }
}
